// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.brest.managesambafilesharing;


// Referenced classes of package com.funkyfresh.samba:
//            LOG

public class ShellCmd {

	public ShellCmd() {
	}

	/*
	 * public static final String run(String s, int i) { String s1; String s2;
	 * Process process; s1 = null; s2 = (new String[] { s, "sh\n", "su -\n"
	 * })[i]; process = null; if(i != 0) goto _L2; else goto _L1 _L1:
	 * DataInputStream datainputstream1; process =
	 * Runtime.getRuntime().exec(s2); datainputstream1 = new
	 * DataInputStream(process.getInputStream()); String s3; s3 =
	 * datainputstream1.readLine(); process.waitFor(); process.destroy(); _L4:
	 * s1 = s3; _L3: return s1; Exception exception7; exception7; _L8:
	 * LOG.e((new
	 * StringBuilder("0: try-catch Detail:  ")).append(exception7.getMessage
	 * ()).toString()); try { process.destroy(); } catch(Exception exception8) {
	 * LOG.e((new
	 * StringBuilder("0: try-catch Detail:  ")).append(exception8.getMessage
	 * ()).toString()); } goto _L3 Exception exception5; exception5; _L7:
	 * process.destroy(); throw exception5; Exception exception6; exception6;
	 * LOG.e((new
	 * StringBuilder("0: try-catch Detail:  ")).append(exception6.getMessage
	 * ()).toString()); goto _L3 Exception exception9; exception9; LOG.e((new
	 * StringBuilder
	 * ("0: try-catch Detail:  ")).append(exception9.getMessage()).toString());
	 * goto _L3 _L2: DataOutputStream dataoutputstream; process =
	 * Runtime.getRuntime().exec(s2); dataoutputstream = new
	 * DataOutputStream(process.getOutputStream()); DataInputStream
	 * datainputstream = new DataInputStream(process.getInputStream());
	 * dataoutputstream.writeBytes((new
	 * StringBuilder(String.valueOf(s))).append("\n").toString());
	 * dataoutputstream.flush(); dataoutputstream.writeBytes("exit \n"); s3 =
	 * datainputstream.readLine(); process.waitFor(); process.destroy(); goto
	 * _L4 Exception exception2; exception2; _L6: LOG.e((new
	 * StringBuilder("1: try-catch Detail:  "
	 * )).append(exception2.getMessage()).toString()); try { process.destroy();
	 * } catch(Exception exception3) { LOG.e((new
	 * StringBuilder("1: try-catch Detail:  "
	 * )).append(exception3.getMessage()).toString()); } goto _L3 Exception
	 * exception; exception; _L5: process.destroy(); throw exception; Exception
	 * exception1; exception1; LOG.e((new
	 * StringBuilder("1: try-catch Detail:  ")
	 * ).append(exception1.getMessage()).toString()); goto _L3 Exception
	 * exception4; exception4; LOG.e((new
	 * StringBuilder("1: try-catch Detail:  ")
	 * ).append(exception4.getMessage()).toString()); goto _L3 exception; goto
	 * _L5 exception; goto _L5 exception2; goto _L6 exception2; goto _L6
	 * exception5; goto _L7 exception7; goto _L8 }
	 */
	public static final int SHELL = 0;
	public static final int SHELLSU = 2;
}
